/* 电影卡片样式 */
.movie-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.movie-poster {
    height: 250px;
    object-fit: cover;
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

/* 布局样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-container {
    min-height: calc(100vh - 136px);
}

.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 40px;
}

/* 按钮样式 */
.btn-delete {
    transition: all 0.2s ease;
}

.btn-delete:hover {
    transform: scale(1.1);
}

/* 文本处理 */
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 空状态样式 */
.empty-state {
    padding: 40px 0;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .movie-poster {
        height: 200px;
    }

    .main-container {
        min-height: calc(100vh - 120px);
    }
}